package cn.itsource.org.domain;

import cn.itsource.basic.domain.BaseDomain;
import cn.itsource.basic.util.PetConstant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

/**
 * 部门实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_shop")
public class Shop extends BaseDomain {
    private String name;
    private String tel;
    private Date register_time=new Date();
    private Integer state= PetConstant.ShopConstant.TO_BE_REVIEWED;
    private String address;
    private String logo;
    private Long admin_id;
    private Employee admin;
    @Transient
    private String content;

}
